<template>
    <div>
        <el-input :rows="5" v-model="jsonData" placeholder="导入json数据" type="textarea"></el-input>
    </div>
</template>
<script>
export default {
    data() {
        return {
            jsonData: ""
        }
    },
    methods: {
        submitByDialog() {
            if (!this.jsonData) {
                return { success: false }
            }
            return { success: true, data: this.jsonData }
        }

    }

}
</script>